home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Burning & Media
/
VLC Media Player 0.9.6
/
vlc-0.9.6-win32.exe
/
lua
/
intf
/
README.txt
< prev
next >
Wrap
Text File
|
2008-11-13
|
748b
|
20 lines
Instructions to code your own VLC Lua interface script.
$Id$
See lua/README.txt for generic documentation about Lua usage in VLC.
Examples: rc.lua, telnet.lua and http.lua
The "config" global variable is set to the value specified in the
--lua-config VLC option. For example:
--lua-config "rc={a='test',c=3},telnel{a='hello'}"
config will be set to {a='test',c=3} in the rc interface, to {a='hello'}
in the telnet interface and won't be set in other interfaces.
User defined modules stored in the share/lua/intf/modules/ directory are
available. For example, to use the sandbox module, just use
'require "sandbox"' in your interface.
VLC defines a global vlc object with the following members:
All the VLC specific Lua modules are available.